<?php
/**
 * Created by PhpStorm.
 * User: Mak
 * Date: 2016/2/6
 * Time: 19:14
 */

namespace Home\Controller;
use Think\Controller;

class XkController extends Controller{
    public function _initialize(){
        header("content-type:text/html; charset=utf-8");
        $flag = session("?Account");
        if(!$flag){
            $this->error("非法登录",U('Home/Index/index'));
        }
    }

    public function index(){
        echo "<script type='text/javascript'>
                    alert('功能未开放！');
//                    location.href='jw.php';
                    history.back();
                   </script>";
    }
}